<template>
	<view class="success-wrapper">
		<div class="bg"></div>
		<div class="success-info">
			<image class="image" src="/static/success.png" mode="widthFix"></image>
			<image class="text" src="/static/success-text.png" mode="widthFix"></image>
			<button class="button" @click="goDetail" type="default">查看</button>
		</div>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goDetail() {
				uni.redirectTo({
					url: '/pages/detail/detail'
				})
			}
		}
	}
</script>

<style lang="scss">
	.success-wrapper {
		.bg {
			background-color: #006DF4;
			height: 200rpx;
		}

		.success-info {
			background-color: #ffffff;
			width: 700rpx;
			margin: -120rpx auto 0;
			text-align: center;
			border-radius: 12rpx;

			.image {
				width: 700rpx;
				height: 200rpx;
				margin: 0rpx auto 0;
			}
			.text {
				width: 520rpx;
				height: 200rpx;
			}
			.button {
				width: 220rpx;
				margin-top: 12rpx;
				height: 80rpx;
				line-height: 80rpx;
				background-color: #ffffff;
				color: #666666;
				font-size: 34rpx;
			}
		}
	}
</style>
